<template>
<div>
  <el-container>
    <el-main>
      <el-carousel trigger="manual" height="550px" width="1100px" arrow="always">
        <el-carousel-item v-for="(flower, index) in flowers" :key="index">
          <img :src="flower.image" height="550px" width="2000px" alt="Flower" />
        </el-carousel-item>
      </el-carousel>
    </el-main>
  </el-container>

    <footer class="footer">
      <div class="container">
        <div class="footer-links">
          <h3>关于我们</h3>
          <ul>
            <li><a href="#">公司简介</a></li>
            <li><a href="#">媒体报道</a></li>
            <li><a href="#">企业团购</a></li>
            <li><a href="#">友情链接</a></li>
          </ul>
        </div>
        <div class="footer-contact">
          <h3>联系方式</h3>
          <p>电话: 123-456-7890</p>
          <p>Email: contact@hua.com</p>
        </div>
        <div class="footer-legal">
          <p>&copy; 2005-2024 花礼网版权所有</p>
          <p>ICP经营许可证: 粤B2-20050744 粤ICP备09171662号</p>
        </div>
        <div class="footer-social">
          <a href="#" class="social-icon"><i class="fab fa-weibo"></i></a>
          <a href="#" class="social-icon"><i class="fab fa-wechat"></i></a>
          <a href="#" class="social-icon"><i class="fab fa-linkedin-in"></i></a>
        </div>
      </div>
    </footer>
</div>
</template>

<style>
.footer {
  background-color: skyblue;
  margin-top: 0;
  color: #fff;
  height: 120px;
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
}

.container {
  width: 100%;
  margin: 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-links, .footer-contact, .footer-legal, .footer-social {
  flex: 1;
  margin: 0 0;
}

.footer-links h3, .footer-contact h3, .footer-legal, .footer-social {
  margin-bottom: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  line-height: 1.5;
}

.footer-social .social-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 24px;
  transition: color 0.3s;
}

.footer-social .social-icon:hover {
  color: #ffd700; /* 金色 */
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .footer-links, .footer-contact, .footer-legal, .footer-social {
    flex-basis: auto;
    width: 100%;
    margin-bottom: 0;
  }
}
</style>

<script>
export default {

  data() {
    return {
      flowers: [
        { image: 'https://img02.hua.com/zhuanti/zhongqiu/2024/pc_zhongqiu_banner.jpg' },
        { image: 'https://img02.hua.com/slider/23_brand_banner_pc.jpg' },
        { image: 'https://img02.hua.com/slider/23_birthday_pc.jpg' },
        { image: 'https://img02.hua.com/zhuanti/birthday/pc/banner_lover.png' },
      ]
    };
  },
  methods: {

  },

};
</script>